package com.yukh.test.javabase.collection.set;

import java.util.HashSet;
import java.util.Set;

public class HashSetDemo {
	public static void main(String[] args) {
		Set hashSet = new HashSet();
		hashSet.add("1");
		hashSet.add(null);
		System.out.println(hashSet.size());
		
		/*Iterator it = hashSet.iterator();
		while(it.hasNext()){
			System.out.println(it.next());
		}*/
	}
}
